<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>求偶之和</title>
	</head>
	<body>
		<script>
			var sum = 0;
			for(var i=1;i<101;i++){
				if(i%2==0){
					sum=sum + i;
				}
			}
			document.write(sum);
		</script>
	</body>
</html>
